#include <intrins.h>
#include "..\soft\program\SH88F516.h"
#include "..\soft\program\hardware.h"
#include "..\soft\program\display.h"
#include "..\soft\program\leddef.h"
#include "..\soft\program\incl.h"
#include "..\soft\program\extn_variable.h"


void welcome(void)
{
	uint8 i = 0;
	uint8 light = 0;
	uint32 temp = 0;

	dspstr("000000",0);
	BEEP = 1;
//	TIME1MS = 30;
//	while(TIME1MS);
	delay1ms(200);	 /////////////////
	temp = 0;

	for(i = 1; i < 10; i++)
	 {
	   powerchk();
	   if(i % 2)
	    light = 0xff;
		else
		 light = 0;
	   temp += 111111;
	   dspdigit(temp, 0, light);
	   BEEP = 1;
	   delay1ms(200);	//////////////
/*	   TIME1MS = 30;
	   while(TIME1MS)
	   {
	    keyscan();
		if(KEYVALUE)
		 {
		  TIME1MS = 0;
		  BEEP = 1;
		 }
	   }*/
	 }
}